package com.bdqn.ordersystem.service;

import com.bdqn.ordersystem.pojo.Order;
import com.bdqn.ordersystem.utils.Pager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderService {
    Order get(Integer id);
    List<Order> listByCondition(Order order);
    boolean add(Order order);
    boolean modifyRecevie(int id,String recevieBy);
    boolean modifyEnd(int id , String resume ,String logPath);
    boolean modifyStatus(int id,int status);
    boolean remove(int id);
    Pager<Order> listByPage(Integer areaId,Integer centerId,String address,Integer pageIndex,Integer pageSize);
    Pager<Order> listByPage1(Integer areaId,Integer centerId,String address,Integer pageIndex,Integer pageSize);
}
